<br><div align="center"><font size="6"><h1><b>CANJE DE BOLETOS</b></h1></font></div><br></br>
<form method="POST">
    <table border="1" align="center">
        <tr align="center" id="cabtabla">
            <td>Ingrese su C.I. <?php //echo date('H:i:s')?></td>
            <td><input class="valor" id="ci" name="ci" value="" /></td>
            <td><input class="button button-azul" id="buscar" type="submit" value="Buscar Boleto" title="Buscar Boletos para canje"/></td>
        </tr>
    </table>
    <br></br>
</form>

<?php if (isset($boletosuser)): ?>
    <table border="1" align="center">
        <tr align="center" id="cabtabla">
            <td>&nbsp;<b>Nombre</b>&nbsp;</td>
            <td>&nbsp;<b>Destino</b>&nbsp;</td>
            <td>&nbsp;<b>Fecha</b>&nbsp;</td>
            <td>&nbsp;<b>Hora</b>&nbsp;</td>
            <td>&nbsp;<b>Opcion</b>&nbsp;</td>
        </tr>
        <?php foreach ($boletosuser as $itembo): ?>
            <tr id="contextual" class="table" align="center">
                <?php
                ?>
                <td><?php echo $persona->getFirstName() ?> <?php echo $persona->getLastName() ?></td>
                <td><?php echo $itembo->getDestino() ?></td>
                <td><?php echo $itembo->getTurno()->fecha ?></td>
                <td><?php echo $itembo->getTurno()->hora ?></td>
                <td><div align="center"><a href="<?php echo url_for('boletoloja/show?id_bo=' . $itembo->id_bo) ?>"><button type="submit" class="button2 button-azul" title="Confirmar Reservacion"><div class="spritescargarboleto" id="cargarboleto_jpg"></div>Canjear</button></a></div></td>
                
            </tr>
        <?php endforeach; ?>
    </tr>


    </table>

<?php endif; ?>
<br></br>

<div align="center"><a href="<?php echo url_for('inicio/index') ?>"><button type="submit" class="button2 button-azul" title="Volver a Boleter&iacute;a"><div class="spritesatras" id="atras_jpg"></div>Ir a Boleter&iacute;a</button></a></div>

<br><br><br><br><br></br>